package com.app.base.utlis.genericity;

import com.app.base.service.core.employees.entity.EmpDetail;

import org.springframework.beans.BeanUtils;


public class GenericParadigm<T> {

    public EmpDetail editEmp(T t){
        EmpDetail empDetail = new EmpDetail();
        BeanUtils.copyProperties(t,empDetail);
        return empDetail;
    }

}
